modified string converter for iterator