Sounds like you bought a 2-way switch, when you needed a 3-way switch - only a guess