docs tips fix small typo and code
Merge pull request #775 from chenglou/doc-fix

docs tips fix small typo and code