In that case post the code you are having problems with (or a shortened version). Something is out of order somewhere it seems.