fix analytics.