closes #898