deleted two lines and made self.clean() reassign and return self.cipher