I have installed my ceiling fan, I replaced my wall switch that was a dimmer switch with a dimmer switch.My fan is running now but I can't controll it with the hall switch. there are two black wires and a green wire on the switch itself.I thought I had connected them the same way I found them. There's a black wire and a red wire coming out of the wall. please help...... Thanks in advance