fixes inconsistent variable name in code sample