changed template attribute to kind_of String