Yes you are right. The cog should be fixed to the shaft and turn with it; that's went wrong with mine. You can find replacements online.
open