Fix deprecated api calls and terminate statements
Fix getList, the search was changed with Weatherwax