clean snippets