fixed reboot loop