modify thread number