fix #7982