fix the issue of the total price in the cart