fixed the switch mode button