fixed CheckJobs loop