Fix rebooting