added pieChart and fix it