optimized the search display result