fix issue 3784