Corrected argument parsing.