Removes trailing spaces