fixes the broken autocomplete in maotao