more fixes to snippets