fixed bug that occurred after adding the id field causing field/value misalignment