Fix init values for search. Fix autocomplete