Fixed add region crashing