fix mixpanel tracking