fixed reboot thread