search bar functionality improvements