trying to connect ceiling fan but the wires do not look the same and when i switch on the fan the light goes on and off immediately. I tried every possible combination but it does not work