manually fix the eof newline issue