move core to root