switch: isSet fix