Fixed graphing bug