bugfix if no neighbors are found.