fix typo in arg parsing