fix mixpanel issue