Improved the search function display