set correct thread in mixpanel