fix discounts