remove whitespace at eol