small change in analytics code