fixed thread search