I have corrected the handling of property $this->offset
I have corrected the handling of property $ this-> offset