fix type thing in JobDistributor