Removes some trailing spaces