clean up snippets