There are three sets of wires coming coming into the box. The switch controls the ceiling light and there are no other switches that control the same light. Also, they ( the switch and outlet) are on the same circuit. The outlet is working fine but I believe the switch isn't wired correctly.