Removing trailing whitespace on line