Use correct variable name to fix compiler error