fix regions not erase by erase all regions.