fixed small bug related to new file_search