fixed autocomplete api