some fix for Windows.