fixes km_to_miles method