add new line at eof