change variables name(chart->chat)