Fix error in windows.