quick fix to update the interface for igraph 0.7.0