Fix code snippet

Variable names don’t match.