Fix undeclared variable in tutorial.