fix issue with self.