Clean up execution of autocomplete