region_pt returns t_region instead of int