I would need to see a short, simple example script (of a few lines) that reproduces this problem for you.