minor fixes on mixpanel