Fix job submission failure.
Merge pull request #29 from HassenRiahi/FixSubmissionFailure

Fix submission failure