closes #3796