bug fix cart rules