fix crashing bug caused by not using RegionSelection::add()