fix warning for missing search result constructor parameter