thread spawning issue fixed