windows restart bugfix