fix QAutocomplete options handling