fix typo in rust reset