Remove extra spaces in titles