added multithead support fix