fixing d3