Fixed a small bug when updating Windows