fixing for templates that have no special nodes