changed template attribute to kind_of String

the source attribute in template is kind_of String, here the corresponding template attribute is bound to a wrong regex.