avoid NPE when no search result displayer is obtained.