modification before combine with new template