adds fix for category names with spaces