Fix typo

Closes #1028