do not read past end of extra fields when reading extra field