fixed small issues with the total_cost in Delivery