fix typo and remove a code copy
Merge pull request #1 from smoser/hver-fix

fix typo and remove a code copy