trying to fix faulty reboot menu at end