fix to job count