fix graphs.