fixed clear graph.