Fixed #96, set templateGroup