add "/" for string in template generation