Remove trailing whitespaces