finish search