unset str in autocomplete bug fixed