failsafe for checkbox