Can you show us the actual offending code?
Put it in code tags:
You seem to be transposing your code to the thread here, changing the names, and not showing the full context. Some things may be getting lost in that transposing, or in the surrounding context (is there a possible namespace/scoping conflict?)