improvement: modified jobManager getJob and getJobs methods