use correct square brackets for search autocomplete