fixed variable type in documentation