[IMP] validated type of data to template_id