delete dirty DOM