fixes inconsisten variable name in code sample