Fixed typo, closes #781