made persist-graph work