remove trailing whitespaces everywhere