fix in function search_and_transform_1/3.