better rendering of search