fix judgerSwitch error