mileage total was calculating incorrectly