Bug fixed with getJobStatus