fix cal for cart