useless function removed from autocomplete