added autocomplete clicking