Fix a bug where the variable isn't defined, and document this change