fix graph to Graph instead of graph value