remove unneeded snippets