basins() cleanup