make sure TiMixpanel is defined in settings.