null guard on search results