closes #1106