You'll have to give us the actual line of code before anyone can tell you what's wrong.