small fix
ThreadId fix