fix mileage bug