set discount_price bug fix