closes #1412