fix error for All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control character