doughnut chart not working.... code corrected