Remove trailing spaces