fixing no-halt (reboot instead of shutdown) issue