Remove a trailing whitespace