finish search and filter