Referencing incorrect field