avoid garbled output when doing CR (progress)