Fix random reboots ( Thanks to percy-g2 and munjeni )

And thanks to Rox of course;)