Fix errors in snippets
Fix errors in snippets