I have just installed a dimmable recesssed light fixture and put it on a dimmer, but the switch will not control the light, it just stays on. Wired as black to black and a red from the fixture to the white. A red and white wire has been capped off? What do I need to do?