fix #7899