add new line at the eof