temp fix for max_gears error