I am installing a ceiling fan, did not look at the wiring first but I have it hooked up but the light switch does not work, the light comes on but only by me pulling the cord, but the fan works with the switch... how do I I get the switch to work for the light as well