Fix issue with job submission