remove empty line of eof