Remove empty line at eof