fix #8198