fix a comment typo
update an internal API