bug fixed on win32 platform
bug fixed on linux platform