autocomplete now works, but search doesn't