fixed Gear.getStats function