fix cmdArgs