fix d3 filepath