fix typo in types