bug fix. using correct field name