temporary fix for reading bipartite graphs from gml