Added back the document offset that is missing