fix win32 issue