a bit more logical tree destruction