swith to online mode