004: fix modeSwitch validation