Fix for pie charts