major bug in templates; temporary workaround

http://arclanguage.org/item?id=17372