fixing the command comparision in standarderror and make the job submission fail