outline: filter out dead nodes