hmm thats just wierd i sifted through the code and everything seemed to be fine and i tried placing that statement in different areas and still got the error.