trying to fix the chart