fix graphs