diff --git a/app/Makefile b/app/Makefile
index bde6b7ea..8aa8b364 100755
--- a/app/Makefile
+++ b/app/Makefile
@@ -52,7 +52,7 @@ endif
 
 APP_LOAD_PARAMS = --curve secp256k1 $(COMMON_LOAD_PARAMS) --path $(APPPATH)
 
-NANOS_STACK_SIZE := 1890
+NANOS_STACK_SIZE := 1444
 include $(CURDIR)/../deps/ledger-zxlib/makefiles/Makefile.devices
 
 $(info TARGET_NAME  = [$(TARGET_NAME)])
diff --git a/app/src/json/json_parser.h b/app/src/json/json_parser.h
index dc0b0ffd..95c0c1db 100644
--- a/app/src/json/json_parser.h
+++ b/app/src/json/json_parser.h
@@ -36,7 +36,7 @@ extern "C" {
 // we must limit the number
 #if defined(TARGET_NANOS)
 #undef MAX_NUMBER_OF_TOKENS
-#define MAX_NUMBER_OF_TOKENS    70
+#define MAX_NUMBER_OF_TOKENS    96
 #endif
 
 #if defined(TARGET_STAX)