fix course_chart bug