fix issue 4299