closes #1175