fix snapshot count