fix typo and missing exports