fixed search data retrieval