Removes trailing whitespace