Fix bug in parse Devices.Record