fix a bug about order.discount