fix for region_id in bug