Can you provide a short script of a few lines that reproduces this problem?