restore to initialized state