fix graphing