fix for the errors on jobs.py