modify the thread creat