solve win32console problem