Fix error with mixpanel loading