Chart chart.template.xml empty handlers fix