fix autocomplete and filter search bar