flaw in template