make piechart works =D