fix extract_args.
Merge pull request #3 from hansode/fix-extract-args

fix extract_args.