fix snapshot setting