Not working autocomplete code inside