replace self.version