closes #732