locate: better handling of record fields