remove incorrect inheritance, fix #45850

the one-root problem only inherits the unnecessary variable AND_TEXT and the wrong hint-5.