enable switch_mode