clean up trailing whitespace