fix typos in error message and comment
Merge pull request #38 from dwrensha/typos

fix typos in error message and comment