erase pie chart script