fix for snippets