fixing mixpanel issue