Fix gear number.