Fixing random reboots. Finally...