fix bug can not loading pie chart