fix device tree