fixed parameter parsing issue in submit script