fixing eol/eof whitespaces