added clear resolution on d3