Fixed bug with whitespace removal in titles