fix Gear#spawn
fix infinite loop in gear creation
s/,//