replace cat_id in scene api