fix issue 3828