inserted on/off switch for masked area scaling