checking and replace faulty switch socket