Fix undefined variable. Use property name instead.