trailing whitespace removal. #1138