fixed typo & api example update