changed indexing in igraph after new version