check for empty search term