finish search feature