Fix slave and jobtool.