fix coding problem in Win environment