fix bug that reboot/shutdown does not work properly