Fixed typo and closes #964