fix errors for multiple workerids