remove two snippets