Fixing the gear on the shaft