Fix tryswitch