fix key in transform_regions()