Bugfix of reboot