revert add tmp folder step before restart