fix pie charts