- fix region_endpoint handling