restore snippets