fix extract_args.