fix analytics button