bug in autocomplete