fix google graph calc issue