some cleaning on event_search_tree