add bug script (NUL character cause infinite loop)