fix make_category_id_hash.