fix graph data