bug on autocomplete