fix error on win32