Make sure it works fine with autocomplete