diff --git a/src/connection.js b/src/connection.js
index <HASH>..<HASH> 100644
--- a/src/connection.js
+++ b/src/connection.js
@@ -658,7 +658,7 @@ const GetParsedTokenAccountsByOwner = jsonRpcResultAndContext(
         executable: 'boolean',
         owner: 'string',
         lamports: 'number',
-        data: struct.object({
+        data: struct.pick({
           program: 'string',
           parsed: 'any',
         }),
@@ -722,7 +722,7 @@ const ParsedAccountInfoResult = struct.object({
   lamports: 'number',
   data: struct.union([
     'string',
-    struct.object({
+    struct.pick({
       program: 'string',
       parsed: 'any',
     }),
fix: ignore extra space field in parsed accounts