Fix minor typos

Closes #1418