fixed typo, closes #297