Added missing variable in snippet