bugfix argv for worker
bugfix reopen logs