diff --git a/README.md b/README.md
index 87a13cb8..5b1b43ba 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ bbs: [中文论坛Chinese bbs](http://bbs.nodemcu.com)
Tencent QQ group QQ群: 309957875
# Change log
-2015-01-05
+2015-01-06
update sdk to 0.9.5.
pre_build bin now compiled by gcc toolchain.
memory/heap usage optimized.
diff --git a/app/include/user_config.h b/app/include/user_config.h
index 63ed16b0..5d821a9d 100644
--- a/app/include/user_config.h
+++ b/app/include/user_config.h
@@ -7,7 +7,7 @@
#define NODE_VERSION_INTERNAL 0U
#define NODE_VERSION "NodeMcu 0.9.5"
-#define BUILD_DATE "build 20150105"
+#define BUILD_DATE "build 20150106"
// #define FLASH_512K
// #define FLASH_1M
diff --git a/app/libc/c_stdio.c b/app/libc/c_stdio.c
index 88c135b1..0d52d29c 100644
--- a/app/libc/c_stdio.c
+++ b/app/libc/c_stdio.c
@@ -1,7 +1,6 @@
#include "c_stdio.h"
// #include "driver/uart.h"
-unsigned char __print_buf[BUFSIZ];
int c_stdin = 999;
int c_stdout = 1000;
int c_stderr = 1001;
diff --git a/app/libc/c_stdio.h b/app/libc/c_stdio.h
index d08effbf..d8302a38 100644
--- a/app/libc/c_stdio.h
+++ b/app/libc/c_stdio.h
@@ -49,12 +49,13 @@ extern int c_stderr;
extern void output_redirect(const char *str);
#define c_puts output_redirect
-extern unsigned char __print_buf[BUFSIZ];
+
// #define c_printf os_printf
// int c_printf(const char *c, ...);
#define c_sprintf os_sprintf
// #define c_vsprintf ets_vsprintf
#define c_printf(...) do { \
+ unsigned char __print_buf[BUFSIZ]; \
c_sprintf(__print_buf, __VA_ARGS__); \
c_puts(__print_buf); \
} while(0)
diff --git a/pre_build/0.9.5/nodemcu_20150105.bin b/pre_build/0.9.5/nodemcu_20150106.bin
similarity index 72%
rename from pre_build/0.9.5/nodemcu_20150105.bin
rename to pre_build/0.9.5/nodemcu_20150106.bin
index fd9f281c..7b13f9cd 100644
Binary files a/pre_build/0.9.5/nodemcu_20150105.bin and b/pre_build/0.9.5/nodemcu_20150106.bin differ
diff --git a/pre_build/0.9.5/nodemcu_latest.bin b/pre_build/0.9.5/nodemcu_latest.bin
index fd9f281c..7b13f9cd 100644
Binary files a/pre_build/0.9.5/nodemcu_latest.bin and b/pre_build/0.9.5/nodemcu_latest.bin differ
diff --git a/pre_build/latest/nodemcu_512k_latest.bin b/pre_build/latest/nodemcu_512k_latest.bin
index fd9f281c..7b13f9cd 100644
Binary files a/pre_build/latest/nodemcu_512k_latest.bin and b/pre_build/latest/nodemcu_512k_latest.bin differ
diff --git a/pre_build/latest/nodemcu_latest.bin b/pre_build/latest/nodemcu_latest.bin
index fd9f281c..7b13f9cd 100644
Binary files a/pre_build/latest/nodemcu_latest.bin and b/pre_build/latest/nodemcu_latest.bin differ