Either way, unless you show us the code, we are guessing.