Fixes grapher variable errors