fix variable name error in example