BUG: loading d3 and vg simultaneously does not work sometimes