fix bug & typo
Merge branch 'master' of gitcafe.com:liunian/snippets