Can you provide a minimal complete script to reproduce this behaviour ?