fix "reboot is impossible"-bug