Fixing d3 problem.