undefined job status fix