restore initial structure