prevent beeping on newline