Mating Woodruff keys to shaft and gears

I am having some problems mating a woodruff key to a gear, I have got the woodruff key mated to the shaft that it is on, but when I try to mate the gear, I am getting alot of over defined the assembly messages, how else can I mate this??

SolidworksParts And Features