thread_num added but not working