fix extract_args same opts case.