temp hack to solve You must supply a name when declaring a template resource