Fix parsing issue for statistic template