closes #749