closes #3665