fix calculating total cost