fixed multiple CMD_OPTARGS bug