fixed weird d3 stuff