bugfix for reboot