fix typos and remove unused declaration
Merge pull request #92 from dwrensha/typo

fix typos and remove unused declaration