error when self.name is None