recover ruby layer1