fix chart data