clean ups for autocomplete search