Without seeing any code, we can't possibly speculate on whats going on.