fix issue in AutocompleteMenu