fixing autocomplete (kindof)