fix the delete in search tab