fix autocomplete click reactivity