fix: typo in api

fixes #25