fixed search, still need to straighten out autocomplete