fix reset to init state