before notebook reboot