fixed typo in API