Fixed graphing bugs