Cleaning trailing whitespaces