fixed connections between nodes with the same index