Can you post your ENTIRE code so we can see if there are any errors in it.