removed cs_remplate_chart related stuff