fix whitespace bug in category names