Fix typo in api