cleanup snippets