fixed search_traverse