closes #903