resetting to previous structure