fixes graph gen