get_neighbors() fix