fix pie chart callbacks #2