fixed the jobs execution