fix some non working analytics