fix #7770