fix makeChart() call