Fix two typos

Fixes #983