Correct misspellings

Closes #783