added pie chart to error components #434