same fix for graphing