closes #975