set worker_processes correctly for missing env