docs tips fix small typo and code