compete snapshot setting

bugs: first save is fail, need to save twice
risk: on/off-0/1