Fixing final job status