fix cart input for mobile