more bugfixes and test storing the graph in pretty way