fixes in D3 package