cleanup bad eol chars