revert to init state