fix a typo error and add a missed snippet of code
Merge pull request #58 from logchi/gh-pages

Fix a typo error and add a missed snippet of code