fix for slug/category with spaces