fix name-search 1.2.1 backcompat