autocomplete both local and global