fix duplicate of snippets