null check on initial d3 check