cart percent discount fix