use ``if self.offset is None`` here