solved reboot bug