Fix undefined variable.
Fix