fixed SaveSnapshot