init thread also for activate