fixes for reboot and poweroff buttons