tweaking search bar for api only