Simply fix typo in api

Simply fix an annoying typo for code reading. And just learning pull request process :)