fix #5670