order discount fix