removing snippets