syntax error fixes on analytics.