clean up trailing spaces