remove arg from thread