unicode string saving fix