remove extra line space at end of file