closes #758