fixing typo in argument parsing