fix bug on windows platform, WindowsError: [Error 32]