fix typo
fix build error in typescript