Remove extra trailing whitespace