Fix argument parsing.