fixing mixpanel tracking