remove spaces in title of base template