Guard against self.state is None