added offset adjustment for tagged data