fixed SaveSnapshot()