fix typo of ends to end
Merge pull request #1421 from lloydbenson/master

fix typo of ends to end