fix to_string.toy null to string bug