fix typo in option parsing