fixes analytics