fix new thread head error