properly set number of workers