fix node neighbor iteration