Fix typo in var snippet