Fixed bugs on windows.