fix issue if we have graph and no timeline