Compiler error fixed (use of undeclared identifier)

Thanks to Dave for reporting this.