Removes trailing white spaces.