Clean_switch_ws