fix windows patch