regression fix: failure if more than one template was to process