fix for win32