fix category_id issue