fixed syntax in templates