closes #745