278 changed pid to job[i].pid