fixing a couple error cases in jobtracker