finalizing search results