add getOffset and fix pvrparse for that