Fixed variable name in snippet