add template group filter