Remove extra space at end of line.