support win32

support win32
exit condition error fix
json modified