closes #896