fix trailing whitespaces.