added reporting for bad nodes