Fix to remove extra whitespace from titles.