self.controller_name is altered

export_file_name alters self.controller_name
Do a clone to fix it