fix the calculator in carts