Post the code you're having problems with. Hard to say without seeing that.