modify path of d3