fixed when job is null