remove blanks at end of lines