Fixed xml parsing in reboot