fix pipeline call to region_p. thanks to Amjad for reporting