fix case when no analytics