fix typos, i.e. => e.g.
Merge pull request #780 from waynn/patch-1

fix typos, i.e. => e.g.