fixed an issue in the jobs_controller causing error loadig the page