minor fixes under linux for worker.