Remove unwanted trailing space.