Corrected templateType in metadata