fix some typos. refs #282

I've fixed some typos in #282.

Please review the issue and this pull request.