fixed the reference to the node being deleted
added stuff to report.