fixed bug in createBatchJob where all inputValues were the same