switch to init state