invert the offsets added previously