fix snapshot