brace in template fix