Fix syntax errors

I fixed two syntax errors in examples.snippet