fix typo in API references