fixed graph reference in the new template