reset to a clean structure