Fix api syntax - typo