optimize status of baremetal