fixed graph compatibility with new Chrome version