well i found the problem. I removed the back of the new switch and looked at the configuration of the contacts. After comparing with the old switch I saw they are opposites. So by fastening the wires to the new switch based on the old switch what I was doing, when energized, was connecting black...