Fixing template pattern.