Yes, common problem. The pulley should be a shrink fit on the gear.
You will have to take the spindle out, be careful as there are shims under the bearing caps, do not mix these up.
Then strip the spindle and gat the pulley off the gear, clean it up and refit it using some high strength loctite, then put it all back together.