bug in d3. grumble grumble