fixes d3 axis issue