add nl to eof