remove trailing whitespace
some thoughts about the different parts of the first part