fix template metadata endpoint