Fixed templates copy from CORE, refs #14827