fixed redundant job creation in scheduler