add clear search functionality