Fix incorrect variable name in documentation