Remove erroneous self.cmd = None