fix graphing
even more fixed