fix hiding regions