fixed if job status is not set