remove d tree