Please post the FULL code you're using so we can see what may be going wrong.