modify baremetal