I think you're right, that shouldn't happen.
Is anything overwriting c2 elsewhere in the project?
You might want to try a compile rebuild all for your code, and see if that makes a difference. I've seen it fix some wierd issues, especially in older versions of portal.