fixed issue with non-existent job[0]