Remove typos

Fixes #1021