fixed bug of pie animate