I have Hampton beach fan with light. I changed the light switch as pull cahin was totally detached while pulling. During this , I saw fan switch ( three speed) wiring was disturb. I tried to connect. Now the fan works all the time with three speed but does not stop when chain is pulled. Can you tell me what I did wrong in the connection?

