remove unnecessary code from mixpanel model