remove switch component