fixed the global autocomplete redirection