fixed argument parsing error