fixed an incorrect variable name

discovered when working on https://github.com/GigaOM/legacy-pro/issues/3828