fix eof new line