bug fix graph.