fix&clean groups/ templates.