modify two  thread