fix typo in API.find