d3-1 cleanup