fix anaylitics