remove blank line at EOF