add enhance restore init code