Fix snippets syntax error