attept to fix autocomplete bug