update:
the bug occures only when using write -il1 <file> <text>