fixed thread detach mistake