correct checkjob and deletejob