Fixed a typo/change on API