Fixed case when no graph object.