correct field name in js