Cog slipping on extruder motor

After much puzzling about why I couldn’t get my first layer to stick I realized that the extruder wasn’t extruding as much as it should, eventually noticed the large feed cog wasn’t going around as much as it should, then figured that the motor was getting stuck and turned up the voltage to 5.5V for the extruder motor. This seemed to help for a bit, but then I noticed that the cogs were still stopping. Then I took a close look at the little cog on the motor shaft and realized that the shaft was sometimes turning but the cog wasn’t.

So I tried tightening the little set screw, but I think the thread is stripped so it just goes round and round and doesn’t really get tighter. I see that there are spare cogs, but they don’t have threaded holes. I have the wing nut adjusted to its loosest tension but still the little cog slips.

What is the best workaround here? I don’t have the equipment to thread a hole let alone drill an accurate hole into the cogs without holes.

Could I put a longer bolt into the hole? Is there a way to make the cog lock better onto the shaft?

So I took the motor to the shed and ground a flattish section into the motor shaft, then put a longer bolt into the threaded hole in in the cog. This seems to be holding.