set discount to invisible if null