fix bug with form discounts partial