bug: cannot pass string arg to thread