Fixing autocomplete lags