recover original structure