fix trailing whitespace