Fixed bugs in variance graphs