fixed errors from refactor in jobs