fixing some typos

fixing some typos that prevented this lib's examples to work for me.
Merge pull request #1 from micrub/master

fixing some typos