removed reboot code