added bus and device to xml