fix an unicode error in getRenderedFields function
improve concatenation