can you post your whole code to see what's happening?