fix typo in variable name in a code example