fix line eof