fix cart error