generateNewJob fixed