I think the only solution is to post the entire code and have someone look at it.

Regards