removes extra code from circleChart