fixing job submission