category_ids fix