Fixing snippet syntax