fix search result array