closes #1253