protect against null fields in fixArrayBuffers