removes inst and region
removes inst and region