closes #972