Fixed issue 3847