Remove extra spaces.