HOTFIX: fixed the autocomplete script always searching the application
under root context