minor fix
threadID fix