fixed a big with autocomplete on an empty string
made text values not greedy..