fix #5596