commit before reboot