remove some trailing space on a line.