duplicate entry for discount save is fixed