fixed variable name in example in documentation