fix #7907