delete unnecessary dross