protect against empty search results