add type back
Merge pull request #884 from dimagi/fix-pie-charts

add type back