closes #746