fix for dead nodes