change thread number