remove old search code now that it is async