Small Fix

Replaced undefined variable.